﻿@page
@model XZTZ.UMP.WEB.Pages.Bid.ProjectInfo.IndexModel

@{
    ViewData["Title"] = "Index";
}

<h1>Index</h1>

<p>
    <a asp-page="Create">Create New</a>
</p>
<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].AreaInfo)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].BeginDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].BeginStake)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].BillVision)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].BredgeNum)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ConfiremedMonth)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ConfirmedYear)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ConstructNo)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].CulvertLen)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].DocHttpURLAddress)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].EndDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].EndStake)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].FactInvest)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].FactLength)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].FlowVision)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].IsOut)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].IsSubmited)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].MasterCompany)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].Note)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].OperateDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].Operator)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].PlanInvest)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].PlanLength)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].PrimaryNo)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ProjectName)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ReplayBudgetary)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ReplaySchematic)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ReportVision)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].RootDirAddress)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ShortNameCH)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ProjectInfo[0].ShortNameCN)
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var item in Model.ProjectInfo) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.AreaInfo)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BeginDate)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BeginStake)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BillVision)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BredgeNum)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ConfiremedMonth)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ConfirmedYear)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ConstructNo)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.CulvertLen)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.DocHttpURLAddress)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.EndDate)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.EndStake)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.FactInvest)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.FactLength)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.FlowVision)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IsOut)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IsSubmited)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.MasterCompany)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Note)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.OperateDate)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Operator)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.PlanInvest)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.PlanLength)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.PrimaryNo)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ProjectName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ReplayBudgetary)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ReplaySchematic)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ReportVision)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RootDirAddress)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ShortNameCH)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ShortNameCN)
            </td>
            <td>
                <a asp-page="./Edit" asp-route-id="@item.ProjectID">Edit</a> |
                <a asp-page="./Details" asp-route-id="@item.ProjectID">Details</a> |
                <a asp-page="./Delete" asp-route-id="@item.ProjectID">Delete</a>
            </td>
        </tr>
}
    </tbody>
</table>
